home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
door
/
ac174v13.zip
/
RSB2CHAT.MRG
< prev
next >
Wrap
Text File
|
1992-10-01
|
2KB
|
45 lines
* ------------[ BLED merge (c) Ken Goosens ]-------------
* Merge this against RBBSSUB2.BAS to produce RBBSSUB2.NEW
* RBBSSUB2.BAS: Date 6-20-1992 Size 140946 bytes
* ANSIChat (c) 1992 by Richie Molinelli
* ------------[ Created 10-01-1992 21:17:34 ]------------
* REPLACING old line(s) by new
4773 ' $SUBTITLE: 'SysopChat - chat with sysop'
' $PAGE
'
' NAME -- SysopChat
'
* ------[ first line different ]------
' PARAMETER MEANING
' INPUTS -- ChatType 1 = Line Chat no ANSI ' CHAT174/RM100101
' 2 = ANSIChat ' CHAT174/RM100101
' OUTPUTS -- ZWasCM True if chat active
'
' PURPOSE -- Lets sysop chat interactively with caller
'
SUB SysopChat (ChatType) STATIC ' CHAT174/RM100101
ZWasCM = ZTrue
TimeChatStarted! = TIMER
ZSubParm = 1
CALL Line25
ZOutTxt$(2) = ""
ON ChatType GOTO 4775,4776 ' CHAT174/RM100101
4775 CALL LineEdit (1,72)
IF ZKeyPressed$ = ZEscape$ OR _
ZSubParm < 0 THEN _
GOTO 4777
ZOutTxt$(1) = ""
IF ZOutTxt$(2) <> "" THEN _
ZOutTxt$ = ZOutTxt$(2) : _
ZOutTxt$(1) = ZOutTxt$(2) : _
ZOutTxt$(2) = "" _
ELSE ZOutTxt$ = ""
ZSubParm = 4
CALL TPut
IF ZSubParm > -1 THEN _
GOTO 4775
* ------[ first line different ]------
GOTO 4777 ' CHAT174/RM100101
* INSERTING new line(s)
4776 CALL ANSIChat ' CHAT174/RM100101